/*加载下用户本地购买的组件*/
(function(){
  //初始化组件市场
  MagicalCoder.install({
    /*回调处理*/
    callbacks: [
      {
        after_start:function(param){
          var projectUuid = MagicalCoder.getUrlParameter("projectUuid");
          $("div[target-id=mcMarketComponent]")
            .html("<div id='mcMarketComponentApp' style='padding:10px'><mc-market project-uuid='"+projectUuid+"'></mc-market></div>")
          new Vue({
            el: "#mcMarketComponentApp",
            data: {}
          })
        },
        order:3
      }
    ]
  })

})();
